import * as actionTypes from './actionTypes';
const defaultState = {
    login: false
};

export default (state = defaultState, action) => {
    switch (action.type){
        case actionTypes.CHANGE_LOGIN_STATUS:
            return state.merge({
                login: true
            });
        default:
            return state;
    }
}